*******************************************************************************
*** Paper: Populist Attitudes and Foreign Policy Postures
*** Table 1 in article
********************************************************************************

*** PROGRAM SETUP COMMANDS
	set more off            // Disable partitioned output
	set dp period			// Use comma instead of dot for decimals
	clear all               // Start with a clean slate
	set linesize 80         // Line size limit to make output more readable
	macro drop _all         // clear all macros
	set scheme s1mono, permanent			// set graph scheme, e.g., cleanplots, plottig, plotplainblind, burd3, s1mono
	graph set window fontface "Times New Roman"				// set font in graphs | "Arial" | "Times New Roman"

************************************************************************************************************************************
************************************************************************************************************************************


*** Open data set
	capture use "Data_clean.dta", clear


*** Table 1 (upper half)
	sum GoertzPopulism_0_1 mi_index ci_index iso_index gj_index if COUNTRY == 1
	sum GoertzPopulism_0_1 mi_index ci_index iso_index gj_index if COUNTRY == 2
	sum GoertzPopulism_0_1 mi_index ci_index iso_index gj_index if COUNTRY == 3
	sum GoertzPopulism_0_1 mi_index ci_index iso_index gj_index if COUNTRY == 4

*** Table 1 (lower half)
	sum GoertzPopulism_0_1_d mi_index_d ci_index_d iso_index_d gj_index_d if COUNTRY == 1
	sum GoertzPopulism_0_1_d mi_index_d ci_index_d iso_index_d gj_index_d if COUNTRY == 2
	sum GoertzPopulism_0_1_d mi_index_d ci_index_d iso_index_d gj_index_d if COUNTRY == 3
	sum GoertzPopulism_0_1_d mi_index_d ci_index_d iso_index_d gj_index_d if COUNTRY == 4